package com.ssy.common;

/**
 * @author ssy
 * <p>
 * 常量类
 */
public class Constant {

    /**
     * 业务正常响应码
     */
    public static final String CODE = "200";

    /**
     * 业务正常消息
     */
    public static final String MESSAGE = "SUCCESS";

    /**
     * 分页的当前页 默认为第一页
     */
    public static final Integer PAGE = 1;

    /**
     * 默认每页10条
     */
    public static final Integer LIMIT = 10;

    /**
     * 菜单
     */
    public static final String TYPE_MENU = "menu";

    /**
     * 权限
     */
    public static final String TYPE_PERMISSION = "permission";


    /**
     * _iframe菜单页面
     */
    public static final String OPEN_TYPE = "_iframe";


    /**
     * 菜单可用状态
     */
    public static final Integer AVAILABLE_TRUE = 1;


    /**
     * 可用状态
     */
    public static final Integer STATE = 1;

    /**
     * 用户默认密码
     */
    public static final String USER_DEFAULT_PASSWORD = "123456";

    /**
     * 当前用户
     */
    public static final String SESSION_CURRENT_USER = "user";

    /**
     * 当前session中的验证码
     */
    public static final String SESSION_VERIFICATION_CODE = "code";

    /**
     * 超级管理员ID
     */
    public static final Integer USER_TYPE_SUPER = 12;

    /**
     * 系统管理员ID
     */
    public static final Integer USER_TYPE_SYSTEM = 13;

    /**
     * 系统用户ID
     */
    public static final Integer USER_TYPE_SYSTEM_USER = 14;

    /**
     * commonType
     */
    public static final String USER_TYPE = "user_type";
    public static final String DEP_LEVEL_TYPE = "dep_level";
    public static final String INSPECT_TYPE = "inspect_type";
    public static final String DRUG_TYPE = "drug_type";
    public static final String PRE_TYPE = "pre_type";

}
